home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / include / net / tc_act / tc_ipt.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  309 b   |  18 lines

  1. #ifndef __NET_TC_IPT_H
  2. #define __NET_TC_IPT_H
  3.  
  4. #include <net/act_api.h>
  5.  
  6. struct xt_entry_target;
  7.  
  8. struct tcf_ipt {
  9.     struct tcf_common    common;
  10.     u32            tcfi_hook;
  11.     char            *tcfi_tname;
  12.     struct xt_entry_target    *tcfi_t;
  13. };
  14. #define to_ipt(pc) \
  15.     container_of(pc, struct tcf_ipt, common)
  16.  
  17. #endif /* __NET_TC_IPT_H */
  18.